Previous Book Contents Book Index Next

Inside Macintosh: Sound /
Chapter 2 - Sound Manager / Sound Manager Reference
Sound Manager Routines / Obtaining Information


SndSoundManagerVersion

You can use SndSoundManagerVersion to determine the version of the Sound Manager tools available on a computer.

FUNCTION SndSoundManagerVersion: NumVersion;
DESCRIPTION
The SndSoundManagerVersion function returns a version number that contains the same information as in the first 4 bytes of a 'vers' resource. You might use the SndSoundManagerVersion function to determine if a computer has the enhanced Sound Manager, which is necessary for multichannel sound and for continuous plays from disk.

SPECIAL CONSIDERATIONS
You can call the SndSoundManagerVersion function at interrupt time.

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the SndSoundManagerVersion function are
Trap macroSelector
_SoundDispatch$000C0008

SEE ALSO
For information on how to use the SndSoundManagerVersion function to determine whether the enhanced Sound Manager is available, see "Obtaining Version Information" on page 2-34.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996